﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NRemedy;
using NRemedy.CodeGenerate;

namespace Wicresoft.NRemedy.VS10Addin.UI
{
    public class CSharpModelGeneratorFactory : CSharpModelGeneratorDefaultFactory
    {
        List<string> _IncludeFields;

        public CSharpModelGeneratorFactory(List<string> IncludeFields)
        {
            _IncludeFields = IncludeFields;
        }

        public override IGetARFieldFilterDelegate CreateGetARFieldFilterDelegate()
        {
            return new CustomGetARFieldFilterDelegate(_IncludeFields);
        }
    }
}
